package com.xebia.lightning.service;

import java.util.Date;
import java.util.List;

import org.springframework.roo.addon.layers.service.RooService;

import com.xebia.lightning.domain.Tweet;

@RooService(domainTypes = { com.xebia.lightning.domain.Tweet.class })
public interface TweetService {

    List<Tweet> findAllTweetsByTweetId(long tweetId);

    List<Tweet> findByPersitedDateBetween(
            Date startDate, Date endDate);

    List<Tweet> findAllUnprocessedTweets();

    List<com.xebia.lightning.domain.Tweet> findAllTweetsForLinks(String url);
}
